<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link type="text/css" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet"/>
<title>Student List page</title>
</head>
<body>


     <%! private String temp = "Matt";%>
  <nav class="navbar navbar-inverse" role="navigation">
  <ul class="nav navbar-nav">
      <li class="active"><a href="${pageContext.request.contextPath}/register/list.html">Job</a></li>
      <li><a href="${pageContext.request.contextPath}/faculty/list.html">Faculty</a></li>
     <li><a href="${pageContext.request.contextPath}/student/list.html">Student</a></li>
      </ul>
      
      <ul class="nav navbar-nav navbar-right">
    </ul>
</nav>
<div class="list-group">
  <a href="#" class="list-group-item active">
    Student
  </a>
<c:forEach var="student" items="${studentList}">
  <a href="${pageContext.request.contextPath}/student/view/${student.studentID}.html" class="list-group-item"> ${student.firstName} ${student.lastName}</a>
</c:forEach>
</div>
</body>
</html>